@{block #content}

<h1>{$title}</h1>

{snippet procCount}
    {if isset($processed)}
        {!_"Already processed"} {$processed}
    {else} {!_"Processing error - no data given. This should never happen."}
    {/if}

    <script type="text/javascript">
    $(document).ready(function(){

        // ajax functionality:
        $.ajax({
            method: "get",
            url: {link process!}
        });
    });
    </script>

    <noscript>
        <p>
            <!-- despite the name of the class in 'a' element, it works both with and
            without javascript, thanx to the power of frameworks -->
            {!_"JavaScript is disabled in your web browser."}<br />
	    {capture $link1}<a href="{link process!}" class="ajax" title="{!_'manually'}">{!_"manually"}</a>{/capture}
            {!_"You must process logs %s."}
        </p>
    </noscript>
{/snippet}